[INFO] fetching crate shore-cli 2.6.1...
[INFO] fixing shore-cli-2.6.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate shore-cli 2.6.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate shore-cli 2.6.1
[INFO] finished tweaking crates.io crate shore-cli 2.6.1
[INFO] tweaked toml for crates.io crate shore-cli 2.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate shore-cli 2.6.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate shore-cli 2.6.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee
[INFO] running `Command { std: "docker" "start" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking winnow v0.5.40
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.3
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking shore-protocol v0.11.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking toml_edit v0.20.2
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking console v0.16.3
[INFO] [stderr]     Checking clap_complete v4.6.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking insta v1.47.2
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking tokio v1.51.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking toml v0.8.2
[INFO] [stderr]     Checking shore-config v0.15.3
[INFO] [stderr]     Checking shore-swp-client v0.3.11
[INFO] [stderr]     Checking shore-cli v2.6.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/cli.rs (2 fixes)
[INFO] [stderr]        Fixed src/state.rs (2 fixes)
[INFO] [stderr]        Fixed src/run.rs (3 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:128:11
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let rt = match tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout]     |         --
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `rt` calls a custom destructor
[INFO] [stdout]     |         `rt` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 128 |     match rt.block_on(run::execute(cli)) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 135 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `rt` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/runtime/runtime.rs:497:1
[INFO] [stdout]     |
[INFO] [stdout] 497 | impl Drop for Runtime {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:128:11
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let rt = match tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout]     |         --
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `rt` calls a custom destructor
[INFO] [stdout]     |         `rt` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 128 |     match rt.block_on(run::execute(cli)) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 135 | }
[INFO] [stdout]     | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `rt` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.51.1/src/runtime/runtime.rs:497:1
[INFO] [stdout]     |
[INFO] [stdout] 497 | impl Drop for Runtime {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.38s
[INFO] [stderr] crater-edition-check: shore-cli v2.6.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking shore-cli v2.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/state.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         unsafe { std::env::set_var("SHORE_RUNTIME_DIR", &runtime) };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/main.rs:45:5
[INFO] [stdout]     |
[INFO] [stdout]  45 |     unsafe_code,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/state.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         unsafe { std::env::remove_var("SHORE_RUNTIME_DIR") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `shore-cli` (bin "shore" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee", kill_on_drop: false }`
[INFO] [stdout] 5f55357f0c2cec9ae7d60a93aa746a7f32767bfbef403cfadbd6045c772c64ee
